#ifndef _SDKVIRTUALCARD_H
#define _SDKVIRTUALCARD_H


typedef enum
{
    TEST_MODE_NONE,
    TEST_MODE_MAG,
    TEST_MODE_RF,
    TEST_MODE_IC
} TEST_CARD_MODE;


extern s32 sdkVirtualTransInit(void);

extern s32 sdkVirtualTransSetTestMode(TEST_CARD_MODE testCardMode);

extern s32 sdkVirtualTransSetGetMagInfoFunc(s32 (*getVirtualMagCardInfoFunc)(u8 *lpTrack1, u8 *lpTrack2, u8 *lpTrack3, u8 *trackstatus));

extern s32 sdkVirtualTransGetMagInfo(u8 *lpTrack1, u8 *lpTrack2, u8 *lpTrack3, u8 *trackstatus);

extern bool sdkVirtualTransIsTestRf(void);

extern bool sdkVirtualTransIsTestMode(void);

extern s32 sdkVirtualTransSetGetAmountFunc(s32 (*getVirtualAmountFunc)(u8 *amount));

extern s32 sdkVirtualTransGetAmount(s8 *amount);

extern s32 sdkVirtualTransSetGetPasswordFunc(s32 (*getVirtualPasswordFunc)(u8 *password));

extern s32 sdkVirtualTransGetPassword(s8 *password);

extern s32 sdkVirtualTransSetGetElecSignBufFunc(s32 (*getVirtualElecSignFunc)(u8 *elecSignBuf, u32 elecSignBufSize));

extern s32 sdkVirtualTransGetElecSignBuf(u8 *elecSignBuf, u32 elecSignBufSize);

extern s32 sdkVirtualTransReset(void);

#endif



